package com.headwind.logistics.permission.service.intl;

import com.headwind.logistics.permission.dto.MenuRoleDTO;
import com.headwind.logistics.common.pojo.Menu;

import java.util.List;


public interface MenuServiceIntl {

    List<MenuRoleDTO> queryMenuRolePage(Integer page, Integer rows);

    List<Menu> queryMenuRolePageMap(Integer page, Integer rows);

    int addMenuRole(Long menuId,Long roleId);

    int deleteMenuRole(Long menuId,Long roleId);

    Integer deleteMenuByMenuId(Long menuId);

    List<Menu> queryAllMenu();

    Integer addMenu(Menu menu,String roleIdList);
}
